﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessClass.StateMachine.Core.Types;
using BusinessClass.StateMachine.Core;

namespace BusinessClass.StateMachine
{
    public class DeleteTempFilesState : ISate<Unit>
    {
        public IEnumerable<string> Files { get; private set; }
        public DeleteTempFilesState(IEnumerable<string> files)
        {
            Files = files;
        }

        public Unit Accept(Machine m)
        {
            m.VisitDeleteTempFiles(this);
            return new Unit();
        }
    }
}
